global ImprimePantalla

extern printf

section .data
formato: DB 'entero: %d, double: %f, cadena: %s', 10, 0

section .text

ImprimePantalla:
MOV RAX, 1
MOV RCX, RDI
MOV RDX, RSI
MOV RDI, formato
MOV RSI, RCX
sub rsp, 8
CALL printf
add rsp, 8
ret
